package com.zhangtai.modules.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangtai.modules.entity.system.ContractSubGroupEntity;
import com.zhangtai.modules.entity.system.ContrarctUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 合同主体组与人员配置关系表

 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-27 15:19:58
 */
@Mapper
public interface ContrarctUserDao extends BaseMapper<ContrarctUserEntity> {

    @Select("delete from sys_contrarct_user WHERE user_id = #{userId}")
    public void deleteContractUser(@Param("userId") String userId);
}
